package com.test.qpbgboot.show.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalTime;
import java.util.Date;
import java.util.List;

@Data
public class RoomVO {
    @ApiModelProperty(value = "房间id")
    private Long id;
    @ApiModelProperty(value = "店家id")
    private Long shopId;
    @ApiModelProperty(value = "房间名称")
    private String name;
    @ApiModelProperty(value = "房间描述")
    private String description;
    @ApiModelProperty(value = "房间价格")
    private BigDecimal price;
    @ApiModelProperty(value = "房间大小")
    private String size;
    @ApiModelProperty(value = "房间图片")
    private String imgsUrl;
    @ApiModelProperty(value = "房间视频")
    private String video;
    @ApiModelProperty(value = "房间标签")
    private String tagIds;
    @ApiModelProperty(value = "开始营业时间")
    @JsonFormat(pattern = "HH:mm")
    private LocalTime openingHoursFrom;
    @ApiModelProperty(value = "结束营业时间")
    @JsonFormat(pattern = "HH:mm")
    private LocalTime openingHoursTo;
    @ApiModelProperty(value = "是否展示 0不展示 1展示")
    private String visible;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "房间标签列表")
    private List<Long> tagIdList;
    @ApiModelProperty(value = "房间图片列表")
    private List<String> imgUrlList;
    @ApiModelProperty(value = "平均评分")
    private Double avgRating;
}
